home *** CD-ROM | disk | FTP | other *** search
- .TH SBSPLINE
- 6 "IRIT Version 6.0"
- .SH NAME
- SBSPLINE
-
-
-
- SurfaceType SBSPLINE( NumericType UOrder, NumericType VOrder,
- ListType CtlMesh, ListType KnotVectors )
-
- Creates a Bspline surface from the provided UOrder and VOrder
- orders, the control mesh CtlMesh, and the two knot vectors KnotVectors.
- CtlMesh is a list of rows, each of which is a list of control points.
- All control points must be of point type (E1-E5, P1-P5), or regular
- PointType defining the surface's control mesh. Surface's point type will
- be of a space which is the union of the spaces of all points.
- KnotVectors is a list of two knot vectors. Each knot vector is a
- list of NumericType knots of length #CtlPtList plus the Order.
- If, however, the length of the knot vector is equal to #CtlPtList +
- Order + Order - 1} the curve is assumed periodic.
- The knot vector may also be a list of a single constant KV_OPEN or
- KV_FLOAT or KV_PERIODIC, in which a uniform knot vector with the
- appropriate length and with open, floating or periodic end condition
- will be constructed automatically.
-
- Example:
-
- Mesh = list ( list( ctlpt( E3, 0.0, 0.0, 1.0 ),
- ctlpt( E3, 0.0, 1.0, 0.0 ),
- ctlpt( E3, 0.0, 2.0, 1.0 ) ),
- list( ctlpt( E3, 1.0, 0.0, 0.0 ),
- ctlpt( E3, 1.0, 1.0, 2.0 ),
- ctlpt( E3, 1.0, 2.0, 0.0 ) ),
- list( ctlpt( E3, 2.0, 0.0, 2.0 ),
- ctlpt( E3, 2.0, 1.0, 0.0 ),
- ctlpt( E3, 2.0, 2.0, 2.0 ) ),
- list( ctlpt( E3, 3.0, 0.0, 0.0 ),
- ctlpt( E3, 3.0, 1.0, 2.0 ),
- ctlpt( E3, 3.0, 2.0, 0.0 ) ),
- list( ctlpt( E3, 4.0, 0.0, 1.0 ),
- ctlpt( E3, 4.0, 1.0, 0.0 ),
- ctlpt( E3, 4.0, 2.0, 1.0 ) ) );
- Srf = SBSPLINE( 3, 3, Mesh, list( list( KV_OPEN ),
- list( 3, 3, 3, 4, 5, 6, 6, 6 ) ) );
-
- constructs a bi-quadratic Bspline surface with its first knot vector
- having uniform knot spacing with open end conditions.
-